import 'dart:ffi';

import 'package:flutter/material.dart';
import 'package:study_flutter/wyfg/project/PConstant.dart';

/*
 * 操作人 : yzhg
 * 描  述 : 主页面
 */
class WyfgHomeRoute extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
        appBar: AppBar(
          title: Text("主页面"),
        ),
        body: Container(
          child: Column(
            children: <Widget>[
              RaisedButton(
                child: Text("商城项目"),
                onPressed: () {
                  Navigator.pushNamed(context,PConstan.WYFG_PROJECT);
                },
              )
            ],
          ),
        )
    );
  }
}
